#ifndef GRAPH_H_
#define GRAPH_H_
#include <qwt_plot_curve.h>

class ColoredCurve: public QwtPlotCurve {
public:
    ColoredCurve(const QString &title);

    void setColor(const QColor &color);
};

class Graph {
public:
		Graph();
		~Graph();
		void updateData();
		//QwtPlotCurve *curve;
		ColoredCurve *curve;
		QVector<double> vals;
		QVector<double> dates;
};

#endif /*GRAPH_H_*/
